package com.carbon.trade.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.carbon.common.api.Paging;
import com.carbon.trade.entity.CarbonTradeQuote;
import com.carbon.common.service.BaseService;
import com.carbon.trade.param.CarbonTradeQuoteQueryParam;

import java.math.BigDecimal;
import java.util.ArrayList;

/**
 * <p>
 * 碳交易供需行情 服务类
 * </p>
 *
 * @author lin rizhao
 * @since 2022-05-21
 */
public interface CarbonTradeQuoteService extends BaseService<CarbonTradeQuote> {

    ArrayList getDeliveryMethod(String type);


    String getDeliveryMethodByName(String deliveryMethod);

    String getDeliveryExchangeByName(String deliveryMethod);

    IPage<CarbonTradeQuote> handleSearch(Page<CarbonTradeQuote> page, CarbonTradeQuoteQueryParam param);

    String transferType(String assetType);

    String transferNumToChinese(String assetType);

}
